<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/base/main/pubInclude.jsp"%>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <script type="text/javascript" src="${el:getWebRootPath()}/resource/js/sea.js"></script>
    <link rel="stylesheet" href="${el:getWebRootPath()}/oa/act/css/tab-form.css"></link>
    <title>我的印章</title>
</head>
<body>
	<div>
	<form id="sealform">
	    <table class="tab-base" style="text-align:left;position: absolute;left: 30%;top:5%;">
	         <tr>
	            <td class='key'>
	                <span>*</span>印章名称：
	            </td>
	            <td>
	                <input class="easyui-textbox" id="sealName" type="text" name="sealName" data-options="prompt:'请输入印章名称',required:true,validType:'length[1,20]'" />
	            </td>
	         </tr>
	        <tr>
	        <td class='key'><span>*</span>我的印章：</td>
	        <td>
	           <input type="hidden" id="path" name="path" value="">
	           <div style="width:90px;height: 90px;vertical-align: middle;border:1px solid #ddd;display: inline-block;">	          	
	           	<img src="" id="sealImg" style="width:90px;height: 90px;vertical-align: middle;display: none;">
	           </div> 
	           <a href="javascript:void(0);"  id="upload" class="vitobtn" style="margin:0;margin-left:6px;" >上传印章</a>
	        </td>
	        </tr>
	        <tr>
	           <td class='key' ></td>
	           <td>
	               <a href="javascript:void(0)" class="vitobtn" id="save" style="display:none;padding:8px 30px;margin-bottom:10px;">保存</a>
	               <a href="javascript:void(0)" class="vitobtn" id="update" style="display:none;padding:8px 30px;margin-bottom:10px;">更新</a>
	               <a href="javascript:void(0)" class="vitobtn" id="delete" style="display:none;padding:8px 30px;margin-bottom:10px;">删除</a>
	           </td>
	        </tr>
	    </table>
	</form>
	</div>
	 <div id="imgDlg"   style="overflow-y:auto;" data-options="width:555,height:350,iconCls:'icon-save',resizable:false,modal:true,closed:true">
	</div>
</body>
</html>
<script type="text/javascript">
    seajs.use("oa/approval/seal/js/mySeal", function(app){
    	app.init();
    });
</script>